package com.coolwen.service.student;

import com.coolwen.entity.Collect;
import com.coolwen.entity.Pager;
import com.coolwen.entity.Student;
import com.coolwen.entity.Total;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by nieyu on 2016/8/5.
 */
public interface StudentService {

    public void insert(Student student);

    int insertSelective(Student student);

    public Pager<Student> find(String grade,String department,String major);

    List<Student> selectAllInfo();

    public List<Student> findAll(String grade, String department, String major);

    public Pager<Student> selectStudentCourseInfo(String grade,String department,String major,String course);

    public Pager<Student> selectStudentOneCourseInfo(String grade,String department,String major,String course);

    public Pager<Collect> collect(String grade,String department,String major);

    public List<Collect> collectAll(String grade,String department,String major);

    public Pager<Collect> collectBySemester(String grade,String department,String major,String semester);

    public List<Collect> collectBySemesterAll(String grade,String department,String major,String semester);

}
